#ifndef _TIME_DEVICE
#define _TIME_DEVICE

#include <windows.h>
#include "..\common\def.h"
#include "..\common\types.h"

class EE_EXPORT CTimeDevice
{
private:

	unsigned int m_TotalFrames; 
	float	m_FPS; 
	float	m_Second; 
	float	m_Minute; 
	float	m_Hour; 
	float	m_DeltaTime; 

	char	m_TimeStr[16]; 
	DWORD	m_dwTime; 
	DWORD	m_dwLastTime; 
	DWORD	m_dwLastUpdateTime; 

public:

	CTimeDevice(); 
	~CTimeDevice(void); 

	HRESULT Release(void); 
	HRESULT Initailize(void); 

	void Update(void); 

	float getFPS(void); 
	float getElapSeconds(void); 
	float getElapMinutes(void); 
	float getElapHours(void); 
	float GetTimeDelta(void); 
	char* GetTimeStr(void); 
}; 

#endif